package com.jiyun.gongsi.controller;

import com.jiyun.gongsi.service.GoogsService;
import com.jiyun.pojo.good.Gong;
import com.jiyun.pojo.result.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 文件名:GoogsController
 * 创建者: 闫俊涛
 * 创建时间:2022/6/27 15:51
 * 描述:这是一个实例
 */
@RestController
@RequestMapping("gong")
public class GoogsController {
    @Autowired
    private GoogsService googsService;
    // 单个面试详情
   @RequestMapping("listByid")
    public  List<Gong> listByid(Integer id ){
       return   googsService.listByid(id);
   }
}
